<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <base th:href="@{/}">
</head>
<body>
    <h1>测试下载文件</h1>
    <a href="file/download">点击下载文件</a>
</body>
</html>